<?php

namespace app\index\controller;

use think\Exception;
use think\Loader;

class Product
{
    public function syncProduct()
    {
        try {
            Loader::model('Sync', 'logic')->syncProduct();
        } catch (Exception $e) {
            echo '操作失败';
        }
    }
}
